﻿using System;
using System.ComponentModel.DataAnnotations;

namespace StoryTimeline.Models
{
    public class FactMetadata
    {
        [Range(1, 5)] public short Rate;

        [DataType(DataType.Date)] [DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}", ApplyFormatInEditMode = true)] public DateTime? Date;
    }
}